package com.pikaqiu.warehouse.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pikaqiu.warehouse.domain.dto.CategoryDto;
import com.pikaqiu.warehouse.domain.entity.Category;
import com.pikaqiu.warehouse.domain.req.CategoryForm;

import java.util.List;

/**
* @author Administrator
* @description 针对表【category(类别表)】的数据库操作Service
* @createDate 2024-08-14 23:11:02
*/
public interface CategoryService extends IService<Category> {

    List<CategoryDto> listByType(Integer type);

    void saveCategory(CategoryForm categoryForm);

    List<Category> listCategory(Integer companyId);

    List<Category> listProductCategory(Integer companyId);

    List<Category> listMaterialsCategory(Integer companyId);
}
